 <script type="text/javascript">
        /*function saveUrl() {
            //var innerpage=document.getElementById("main")
            var innerpage = document.getElementById('main').contentWindow.location.href
            var url = innerpage.split("?");
            sessionStorage.innerUrl = url[0];
            // var a1 = localStorage["a"];
        }
        setInterval("saveUrl()", 8000);
        function setUrl() {
            var innerpage = document.getElementById('main')
            if (sessionStorage.innerUrl) {
                innerpage.src = sessionStorage.innerUrl;
            } else {
                innerpage.src = "<g:createLink controller="index" action="index"/>"
            }
        }*/

    </script>